﻿namespace Devonline.Core;

/// <summary>
/// Linux 系统信息
/// </summary>
public class LinuxInformation : SystemInformation
{
    /// <summary>
    /// 获取 CPU 序列号
    /// </summary>
    /// <returns></returns>
    public override string GetCPUID()
    {
        return KeyGenerator.GetKey<string>();
    }

    public override string[] GetDiskId()
    {
        throw new NotImplementedException();
    }

    public override string[] GetIPAddress()
    {
        throw new NotImplementedException();
    }

    public override string[] GetMacAddress()
    {
        throw new NotImplementedException();
    }

    public override string GetMainBoardID()
    {
        throw new NotImplementedException();
    }

    /// <summary>
    /// 获取 shell 命令行路径
    /// </summary>
    /// <returns></returns>
    protected override string? GetShellPath() => "/bin/bash";
}